package com.chapter10.homework_.homework05;

/**
 * @author 宋鑫宇
 * @version 1.0
 */
public class HomeWork05 {
    public static void main(String[] args) {
        Person tang = new Person("tang", new Horse());
        tang.common();
        tang.passRiver();
        tang.passVolcano();
    }
}
